﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RolesList.aspx.cs" Inherits="ERP.RolesList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Repeater runat="server" ID="repRoles">
        <HeaderTemplate>
            <table border="1">
                <tr>
                    <th><b>שם </b></th> 
                    <th><b>הרשאות </b></th>
                    <th><b>תיאור </b></th> 
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <a href="RoleEdit.aspx?RoleId=<%#Eval("RoleId") %>"></a>
                    <%#Eval("Name") %>
                </td>
                <td>
                    <%#Eval("permmisions") %>
                </td>
                <td>
                    <%#Eval("roledescription") %>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>
